package com.rc.saas.mini.service.printer;

import com.rc.saas.mini.mapper.printer.ElecPrinterMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author wangzhengwei
 * @create 2021/4/23
 */
@Service
public class ElecPrinterServiceImpl implements ElecPrinterService {
    @Autowired
    private ElecPrinterMapper elecPrinterMapper;

    @Override
    public ElecPrinterMapper getMapper() {
        return elecPrinterMapper;
    }

    @Override
    public Integer countPrinterByOrderNum(String orderNum) {
        return elecPrinterMapper.countPrinterByOrderNum(orderNum);
    }
}
